import { get, post } from './index'

export function setTicket(params) {
  return get('/v1/bk/market/ydjthk/ticket/set', params)
}

export function addUser(data) {
  return post('/v1/bk/account/register', data)
}

export function updateUser(data) {
  return post('/v1/bk/account/update', data)
}

export function getUserList(params) {
  return get('/v1/bk/account/search', params)
}

export function getRoleList(params) {
  return get('/v1/bk/role/search', params)
}
